<!doctype html>
<html>
{include file="head.html"}

<body>
 
 <div class="fullscreen">
  <div class="scroll_content">
    <div class="topfixed">
    {if !$site.logo}
        {get data=s model=sites fun=selectRow(array("where"=>" status=1 " ,"order"=>"siteid ASC"))}
        {/if}	
      <div class="logobox"><img src="{if $site.logo}{$site.logo}{else}{$s.logo}{/if}"></div>
      <div class="icosearch"><a href="/index.php?m=sites"><i class="ico"></i>{$site.sitename}</a></div>
    </div>
    <section class="ind_section">
      <div class="ind_banner">
        <div class="flexslider">
        	{get data=ad1 model=ad fun=listbyno("wap_index_flash")}
          <ul class="slides clearfix">
          {foreach item=c from=$ad1}
            <li><a href="{$c.link1}"><img class="img lazy" src="{$preimage_banner}"  url="{$c.imgurl|images_site}"></a> </li>
          {/foreach}  
           
          </ul>
        </div>
      </div>
      <div class="ind_subnav">
        <ul class="list">
        {get data=nv model=navbar fun=navlist(3)}
        {foreach item=c from=$nv}
          <li><a href="{$c.link_url}"><img class="img" src="{$c.logo|images_site}"><br>
            {$c.title}</a></li>
        {/foreach}    
          
        </ul>
      </div>
    </section>
    <table class="inc_table">
    {get data=ad2 model=ad fun=listbyno("wap_index_xz2")}
    {get data=ad3 model=ad fun=listbyno("wap_index_xy1")}
    {if $ad2}
      <tr>
        <td width="50%"><a href="{$ad2[0].link1}"><img class="lazy" src="{$preimage_banner}" url="{$ad2[0].imgurl|images_site}"></a></td>
        <td rowspan="2" width="50%"><p style="padding-left:4px;"><a href="{$ad3[0].link1}"><img class="lazy" src="{$preimage_banner}" url="{$ad3[0].imgurl|images_site}"></a></p></td>
      </tr>
      <tr>
        <td><a href="{$ad2[1].link1}"><img class="lazy" src="{$preimage_banner}" url="{$ad2[1].imgurl|images_site}"></a></td>
      </tr>
      {/if}
    </table>
  </div>
</div>
 

<script>
 
  $(function(){
	 imgLazy("body");
	  
	  
	 
	 loadjs(basejs,function(){
		 $(".flexslider").flexslider();
	 }) 
  });
  </script>
  {assign var="botnav" value="index"}
 {include file="botnav.html"}
 {include file="footer.html"} 
  
</body>
</html>
